package com.icloud.article.boot.dto;

import com.icloud.common.core.constant.ValidateConstant;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.time.LocalDateTime;

@Getter
@Setter
public class ArticleSensitiveUpdateDto {
    @ApiModelProperty("主键id")
    @NotNull(message = ValidateConstant.NOT_NULL)
    private Long id;

    @ApiModelProperty("敏感词库")
    @NotEmpty(message = ValidateConstant.NOT_EMPTY)
    private String sensitiveWords;
}
